package com.youcheng.service.admin;

import com.youcheng.dao.Admin;

import java.util.List;

public interface AdminService {

    public abstract Admin getByUsername(String username , String password);

    public abstract int addAdmin(Admin admin);

    public abstract int lockAdmin(int id,int is_lock);

    public abstract List<Admin> listAllAdmin(String username,int is_lock);

}
